﻿using GrainManage.Data.Model;
using GrainManage.Data.Model.Table;
using System.Collections.Generic;

namespace GrainManage.Data.Service.Interfaces
{
    public interface IImageService
    {
        ImageTable Get(int imageID, string creator);

        List<ImageTable> GetImages(IPageable page, ICountable records, string creator);

        int GetImageID(string imageName, string creator);

        int Insert(ImageTable image);

        int Update(ImageTable image);

        int Delete(int imageID, string creator);

        List<int> Insert(List<ImageTable> images);

        List<int> Update(List<ImageTable> images);

        List<int> Delete(List<int> images, string creator);
    }
}
